package com.xiangyu.demo.bean;

import org.apache.ibatis.type.Alias;
import org.springframework.context.annotation.Bean;
import org.springframework.core.serializer.Serializer;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.io.OutputStream;
import java.io.Serializable;

/**
 * java类简单作用描述
 *
 * @ProjectName: springboot-demo
 * @Package: com.xiangyu.demo.bean
 * @Description: java类作用描述
 * @Author: 向羽
 * @CreateDate: 2018/1/25 14:29
 * @UpdateUser: 向羽
 * @UpdateDate: 2018/1/25 14:29
 * @UpdateRemark: The modified content
 * @Version: 2.0
 */
@Alias("userInfo")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 2620024932905963095L;

    private Integer userId;
    private Integer organId;
    private String userName;
    private String phone;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrganId() {
        return organId;
    }

    public void setOrganId(Integer organId) {
        this.organId = organId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userId=" + userId +
                ", organId=" + organId +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }


}
